package controlador.npws;

import endpoints.jaxws.Steps;
import endpoints.jaxws.Steps_Service;

public abstract class Passo {
    
    public Steps_Service isr = new Steps_Service();
    public Steps passo = isr.getStepsPort();
    
    public abstract void avaliaPasso(Object obj);
    
    public abstract void executaPasso();
   
    protected boolean passoDeParada = false;
    
    protected long instanciaId = -1;
    
    protected long passoId = -1;
    
    protected String descricao = "";
    
    protected String contexto = "";
    
    public boolean isPassoDeParada() {
        return passoDeParada;
    }
    
    public Passo(PassoNpdl passoNpdl) {
        passoId = passoNpdl.getStepId();
        instanciaId = passoNpdl.getInstanceId();
        descricao = passoNpdl.getDescription();
        contexto = passoNpdl.getContext();
    }
    
    
}
